package com.example.ndkjnidemo.home.reference;

/**
 * Created by guxiuzhong on 2020/10/13.
 */
public class JNIRef {

    // JNI Config 3 加载的jni库，库名：libndk-jni.so ,加载的时候省略lib和.so
    static {
        System.loadLibrary("ndk-jni");
    }

    public native String jnilocalRef();

    public native String jniGlobalRef();

    public native void delGlobalRef();

    public native String jniWeakGlobalRef();

    public native void delWeakGlobalRef();

    public native void localRefOverflow();

    public native void refSame();

    public native String refCache();

    public native void delRefCache();

}
